home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TeX 1995 July
/
TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO
/
macros
/
latex209
/
contrib
/
songbook
/
mksbtdx
< prev
next >
Wrap
Text File
|
1994-01-22
|
690b
|
41 lines
#!/bin/sh
#####
#####
##
## mksbtdx - Produce a songbook style .tdx file from a .tIdx file.
##
## Version 2.3, 1 January, 1994
##
## Copyright 1992--94 Christopher Rath
## crath@bnr.ca
##
## Take a .tIdx file produced by one of the songbook styles and
## turn it into a .tdx file for final formatting into a title and
## first line index.
##
#####
#####
###
# Check that the proper parameters were input.
###
if [ "$1" = "" ]
then
echo USAGE: $0 jobname
fi
###
# Call makeindex to do the required munging.
##
makeindex -s songbook.ist -o $1.tdx $1.tIdx
###
# Tell the user what the new filename is.
###
echo " "
echo "The new Index file is called \`$1.tdx'."
###
# End of script.
###